package com.weihua.service;

import com.weihua.bo.SourceDataBo;
import com.weihua.conver.SourceDataConvert;
import com.weihua.dao.SourceDataMapper;
import com.weihua.po.SourceDataPo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class SourceDataService extends BaseServiceImpl<SourceDataBo, SourceDataPo, SourceDataMapper> {

    @Autowired
    private SourceDataMapper sourceDataMapper;
    @Override
    protected SourceDataMapper getMapper() {
        return sourceDataMapper;
    }

    @Override
    protected SourceDataPo transBo2Po(SourceDataBo bo) {
        return SourceDataConvert.T.transBo2Po(bo);
    }

    @Override
    protected SourceDataBo transPo2Bo(SourceDataPo po) {
        return SourceDataConvert.T.transPo2Bo(po);
    }
}
